﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;

namespace Spark.Samples.Logging.Controllers
{
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class ValuesController : ControllerBase
    {
        // POST api/values
        [HttpPost]
        public IActionResult Post([FromBody] string value)
        {
            //throw new Exception("测试异常");
            return Ok("test_007");
        }
    }
}